﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EasyToHelp.Entity
{
    /// <summary>
    /// 系统菜单
    /// </summary>
    public class SysMenus
    {
        public int Id { set; get; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string text { set; get; }
        /// <summary>
        /// 菜单链接
        /// </summary>
        public string href { set; get; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { set; get; }
        /// <summary>
        /// 父级菜单
        /// </summary>
        public int PId { set; get; }
        public int Sort { set; get; }

        public List<SysMenus> SysMenusList { set; get; }
    }
    /// <summary>
    /// 上级菜单
    /// </summary>
    public class MenuItems
    {
        public int id { get; set; }
        public string text { get; set; }
        public List<SysMenus> items { get; set; }
    }

    public class menus
    {
        public int id { get; set; }
        public string text { get; set; }
        public List<MenuItems> menu { get; set; }
    }
}
